<style>
  .basemenus3_table4 {
    width: 204px;
    height: 33px;
    margin-top:-15px;
  }
  .basemenus3_table5 {
    background-color:#e6ede7;
    border-right:solid 1px #afb4b0;
    border-bottom:solid 1px #afb4b0;
    width: 384px;
    height: 24px;
  }
  .basemenus3_table7 {
    width: 306px;
    height: 33px;
    margin-top:-15px;
  }
  .basemenus3_table10 {
    width: 138px;
  }
  .basemenus3_table11 {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 33px;
    margin-bottom:20px;
    margin-top:-15px;
  }
  .basemenus3_table21 {
    background-color:#e6ede7;
    border-right:solid 1px #afb4b0;
    border-bottom:solid 1px #afb4b0;
    height: 24px;
    margin:0 0 20px 0;
  }
  .basemenus3_table211 {
    background-color:#e6ede7;
    border-right:solid 1px #afb4b0;
    border-bottom:solid 1px #afb4b0;
    height: 24px;
  }  
  
  .basemenus3_table30 {
    width: 138px;
    height: 30px;
  }
  .basemenus3_table31 {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 33px;
    margin-top:-15px;
  }  
  
  .basemenus3_td10 {
    background-image: url(images/common/headline.png);
    background-repeat: repeat-x;
    border-right: solid 1px #8F8F8A;
    width: 140px;
    height: 25px;
    text-align: left;
    vertical-align: middle;
    padding: 0 0 0 13px;
    font-size: 111%;
    font-weight: bold;
    color: #633e36;
  }
  .basemenus3_td20 {
    background-color:#ebebe3;
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
    width: 138px;
    height: 5px;
  }
  .basemenus3_td30 {
    background-color:#ebebe3;
    width: 138px;
    height: 30px;
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
  }
  .basemenus3_td40 {
    background-color:#ebebe3;
    width: 138px;
    height: 6px;
    border-right:solid 1px #b3b3ba;
    border-left:solid 1px #ffffff;
    border-bottom:solid 1px #8f8f8a;
  }
  .basemenus3_td60 {
    padding: 0 0 0 8px;
    font-size: 13px;
    font-weight: regular;
    font-family: 宋体;
    color: #633e36;
    height: 30px;
    cursor: pointer;
  }
  .basemenus3_td60:hover {
    color:#ff8800;
  }
  .basemenus3_td70 {
    background-color: #e1d6c6;
    padding: 0 0 0 8px;
    font-size: 13px;
    font-weight: bold;
    font-family: 宋体;
    color: #633e36;
    height: 22px;
  }
  .basemenus3_td701 {
    background-color: #ebebe3;
    padding: 0 0 0 8px;
    font-size: 13px;
    font-weight: bold;
    font-family: 宋体;
    color: #633e36;
    height: 22px;
  }
</style>
{{if $menu->a == 1}}
  {{if $menu->b == 1}}
    {{if $menu->c == 1}}
      <table class="basemenus3_table10" cellPadding="0" cellSpacing="0">
        <tr>
          <td class="basemenus3_td10">
            Manage Tasks
          </td>
        <tr>
        <tr>
          <td class="basemenus3_td20"></td>
        </tr>
        <tr>
          <td class="basemenus3_td30">
            <table class="basemenus3_table10" cellPadding="0" cellSpacing="0">
              <tr>
                <td class="basemenus3_td60" {{if $menu->d == 1}}style="color: #ff8800"{{/if}} onclick="location.href='?p=pageacct&t=pageb1acctcustomworks&m={%22a%22:1,%22b%22:1,%22c%22:1,%22d%22:1}';">J.personal<span id="acct_tasks_ownerworks_span"></span></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td class="basemenus3_td40"></td>
        </tr>
      </table>
    {{/if}}
   {{/if}}
   {{if $menu->b == 4}}
      <table class="basemenus3_table30" cellPadding="0" cellSpacing="0">
        <tr>
          <td class="basemenus3_td10">
            Manage Tasks
          </td>
        <tr>
        <tr>
          <td class="basemenus3_td30">
            <table class="basemenus3_table10" cellPadding="0" cellSpacing="0">
              <tr>
                <td class="basemenus3_td60" {{if $menu->c == 1}}style="color: #ff8800"{{/if}} onclick="location.href='?p=pageacct&t=pageb1acctalltasks&m={%22a%22:1,%22b%22:4,%22c%22:1}';">System</td>
              </tr>
              <tr>
                <td class="basemenus3_td60" {{if $menu->c == 2}}style="color: #ff8800"{{/if}} onclick="location.href='?p=pageacct&t=pageb1acctallcustomtasks&m={%22a%22:1,%22b%22:4,%22c%22:2}';">Personal</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    {{/if}}
{{/if}}

{{if $menu->a == 2}}
  {{if $menu->b == 1}}
    <div align="left" style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}">
      <table class="basemenus3_table4"  cellPadding="0" cellSpacing="0">
        <tr>
          <td {{if $menu->c == 1}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pageacct&t=pageiecustomerall&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:1}'">
            <a href="?p=pageacct&t=pageiecustomerall&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:1}">Customer
          </td>
          <td {{if $menu->c == 2}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pageacct&t=pageiedaily&m={%22a%22:2,%22b%22:1,%22c%22:2}'">
            <a href="?p=pageacct&t=pageiedaily&m={%22a%22:2,%22b%22:1,%22c%22:2}">Daily
          </td>
        </tr>
      </table>
      {{if $menu->c == 1}} 
        <table class="basemenus3_table5" cellPadding="0" cellSpacing="0">
          <tr>
            <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pageiecustomerall&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:1}'">
              <a href="?p=pageacct&t=pageiecustomerall&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:1}">All
            </td>
            <td {{if $menu->d == 2}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pageiecustomerwed&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:2}'">
              <a href="?p=pageacct&t=pageiecustomerwed&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:2}">Wedding
            </td>
            <td {{if $menu->d == 3}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pageiecustomerpre&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:3}'">
              <a href="?p=pageacct&t=pageiecustomerpre&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:3}">Prewedding
            </td>
            <td {{if $menu->d == 4}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pageiecustomerpor&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:4}'">
              <a href="?p=pageacct&t=pageiecustomerpor&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:4}">Portrait
            </td>
            <td {{if $menu->d == 5}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pageiecustomereng&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:5}'">
              <a href="?p=pageacct&t=pageiecustomereng&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:5}">Engagement
            </td>
            <td {{if $menu->d == 6}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pageiecustomeroth&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:6}'">
              <a href="?p=pageacct&t=pageiecustomeroth&m={%22a%22:2,%22b%22:1,%22c%22:1,%22d%22:6}">Other
            </td>
          </tr>
        </table>
      {{/if}}
     </div>
  {{/if}}
  {{if $menu->b == 3}}
    <div align="left" style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}">
      <table class="basemenus3_table7"  cellPadding="0" cellSpacing="0">
        <tr>
          <td {{if $menu->c == 1}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} align="center" valign="middle"  onclick="location.href='?p=pageacct&t=pagesumall&m={%22a%22:2,%22b%22:3,%22c%22:1}'">
            <a href="?p=pageacct&t=pagesumall&m={%22a%22:2,%22b%22:3,%22c%22:1}">OverAll</a>
          </td>
          <td {{if $menu->c == 2}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} align="center" valign="middle" onclick="location.href='?p=pageacct&t=pagesumincome&m={%22a%22:2,%22b%22:3,%22c%22:2}'">
            <a href="?p=pageacct&t=pagesumincome&m={%22a%22:2,%22b%22:3,%22c%22:2}">Income</a>
          </td>
          <td {{if $menu->c == 3}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} align="center" valign="middle" onclick="location.href='?p=pageacct&t=pagesumexpense&m={%22a%22:2,%22b%22:3,%22c%22:3}'">
            <a href="?p=pageacct&t=pagesumexpense&m={%22a%22:2,%22b%22:3,%22c%22:3}">Expenses</a>
          </td>
        </tr>
      </table>
    <div>
  {{/if}}
{{/if}}

{{if $menu->a == 3}}
  {{if $menu->b == 2}}
    <div>
      <table class="basemenus3_table31"  cellPadding="0" cellSpacing="0">
        <tr>
          <td {{if $menu->c == 1}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentfirst1&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:1}'">
            <a href="?p=pageacct&t=pagepaymentfirst1&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:1}">1st Receipt</a>
          </td>
          <td {{if $menu->c == 2}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentsecond1&m={%22a%22:3,%22b%22:2,%22c%22:2,%22d%22:1}'">
            <a href="?p=pageacct&t=pagepaymentsecond1&m={%22a%22:3,%22b%22:2,%22c%22:2,%22d%22:1}">2nd Receipt</a>
          </td>
          <td {{if $menu->c == 3}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentthird1&m={%22a%22:3,%22b%22:2,%22c%22:3,%22d%22:1}'">
            <a href="?p=pageacct&t=pagepaymentthird1&m={%22a%22:3,%22b%22:2,%22c%22:3,%22d%22:1}">3rd Receipt</a>
          </td>
          <td {{if $menu->c == 4}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentforth&m={%22a%22:3,%22b%22:2,%22c%22:4,%22d%22:1}'">
            <a href="?p=pageacct&t=pagepaymentforth&m={%22a%22:3,%22b%22:2,%22c%22:4,%22d%22:1}">4th Receipt</a>
          </td>
          <td class=""></td>
        </tr>
      </table>
      {{if $menu->c == 1}} 
        <div align="center">
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus3_table21" cellPadding="0" cellSpacing="0" border=0>
                  <tr>
                    <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentfirst1&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:1}'">
                      <a href="?p=pageacct&t=pagepaymentfirst1&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:1}">定金低于10%<span id="admin_payments_first1_span"></span></a>
                    </td>
                    <td {{if $menu->d == 2}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentfirst2&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:2}'">
                      <a href="?p=pageacct&t=pagepaymentfirst2&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:2}">一个月之内结婚无定金<span id="admin_payments_second1_span"></span></a>
                    </td>
                    <td {{if $menu->d == 3}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentfirst3&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:3}'">
                      <a href="?p=pageacct&t=pagepaymentfirst3&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:3}">一个星期之内结婚无定金<span id="admin_payments_third1_span"></span></a>
                    </td>
                    <td {{if $menu->d == 4}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentfirst4&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:4}'">
                      <a href="?p=pageacct&t=pagepaymentfirst4&m={%22a%22:3,%22b%22:2,%22c%22:1,%22d%22:4}">已经结婚无定金<span id="admin_payments_forth1_span"></span></a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
      {{/if}}
      {{if $menu->c == 2}} 
        <div align="center">
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus3_table21" cellPadding="0" cellSpacing="0" border=0>
                  <tr>
                    <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentsecond1&m={%22a%22:3,%22b%22:2,%22c%22:2,%22d%22:1}'">
                      <a href="?p=pageacct&t=pagepaymentsecond1&m={%22a%22:3,%22b%22:2,%22c%22:2,%22d%22:1}">一星期之内结婚未付二次款<span id="admin_payments_first2_span"></span></a>
                    </td>
                    <td {{if $menu->d == 2}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentsecond2&m={%22a%22:3,%22b%22:2,%22c%22:2,%22d%22:2}'">
                       <a href="?p=pageacct&t=pagepaymentsecond2&m={%22a%22:3,%22b%22:2,%22c%22:2,%22d%22:2}">已经结婚未付二次款<span id="admin_payments_second2_span"></span></a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
      {{/if}}
      {{if $menu->c == 3}} 
        <div align="center">
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus3_table21" cellPadding="0" cellSpacing="0" border=0>
                  <tr>
                    <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentthird1&m={%22a%22:3,%22b%22:2,%22c%22:3,%22d%22:1}'">
                      <a href="?p=pageacct&t=pagepaymentthird1&m={%22a%22:3,%22b%22:2,%22c%22:3,%22d%22:1}">结婚一个月未领取CD<span id="admin_payments_first3_span"></span></a>
                    </td>
                    <td {{if $menu->d == 2}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentthird2&m={%22a%22:3,%22b%22:2,%22c%22:3,%22d%22:2}'">
                      <a href="?p=pageacct&t=pagepaymentthird2&m={%22a%22:3,%22b%22:2,%22c%22:3,%22d%22:2}">已领取CD未付三次款<span id="admin_payments_second3_span"></span></a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
      {{/if}}
      {{if $menu->c == 4}} 
        <div align="center">
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus3_table21" cellPadding="0" cellSpacing="0" border=0>
                  <tr>
                    <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pageacct&t=pagepaymentforth&m={%22a%22:3,%22b%22:2,%22c%22:4,%22d%22:1}'">
                      <a href="?p=pageacct&t=pagepaymentforth&m={%22a%22:3,%22b%22:2,%22c%22:4,%22d%22:1}">全部结束未付清款额<span id="admin_payments_first4_span"></span></a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
      {{/if}}
    </div>
  {{/if}}
  {{if $menu->b == 3}}
    <div style="margin-bottom:20px;">
      <table class="basemenus3_table31"  cellPadding="0" cellSpacing="0">
        <tr>
          <td {{if $menu->e == 1}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pageacct&t=pageb1payment&m={%22a%22:3,%22b%22:3,%22e%22:1}'">
            <a href="?p=pageacct&t=pageb1payment&m={%22a%22:3,%22b%22:3,%22e%22:1}">Late Receipt</a>
          </td>
          <td {{if $menu->e == 2}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pageacct&t=pageb1orderdiscount&m={%22a%22:3,%22b%22:3,%22e%22:2}'">
            <a href="?p=pageacct&t=pageb1orderdiscount&m={%22a%22:3,%22b%22:3,%22e%22:2}">Over Discount</a>
          </td>
          <td class=""></td>
        </tr>
      </table>
    </div>
  {{/if}}
{{/if}}